﻿<%@ Page Language="C#" AutoEventWireup="true" CodeFile="QoDesk.aspx.cs" Inherits="QoDesk" %>

Ext.namespace('Ext.ux','QoDesk');

QoDesk.App = new Ext.app.App({
   init : function(){
      Ext.BLANK_IMAGE_URL = 'resources/images/default/s.gif';
      Ext.QuickTips.init();
   },

   /**
    * The member's name and group name for this session.
    */
   memberInfo: {
      name: '<%= member_name %>',
      group: '<%= member_group %>'
   },

   /**
    * An array of the module definitions.
    * The definitions are used until the module is loaded on demand.
    */
   modules: <%= print_modules()%>,

   /**
     * The members privileges.
     */
   privileges: <%= print_privileges() %>,

   /**
    * The desktop config object.
    */
   desktopConfig: {
      appearance: <%= print_appearance() %>,
      background: <%= print_background() %>,
      launchers: <%= print_launchers() %>,
      taskbarConfig: {
         buttonScale: 'large',
         position: 'bottom',
         quickstartConfig: {
            width: 120
         },
         startButtonConfig: {
            iconCls: 'icon-qwikioffice',
            text: 'Start'
         },
         startMenuConfig: {
            iconCls: 'icon-user-48',
            title: '<%= member_name %>',
            width: 320
         }
      }
   }
});